package cn.edu.scau.cmi.luochenghao.chapter06;

class A6_6 {
	final double PI=3.1415926;
	public double getArea(final double r) {
		return PI*r*r;
	}
	public final void speak() {
		System.out.println("您好,How's everything here ?");
	}
}

public class Example6_6 {

	public static void main(String[] args) {
		A6_6 a=new A6_6();
		System.out.println("面积："+a.getArea(100));
		a.speak();

	}

}
